package com.chixing.day17_reflect_thread.thread;

public class EvenNumber extends Thread{
    @Override
    public void run() {
        for (int i = 0; i <=50 ; i++) {
            if (i%2 !=0){
                System.out.println("奇数++++"+i);
            }
        }
        try {
            Thread.sleep(1);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
